/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.settlement.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 店铺结算表Entity
 * @author xh
 * @version 2018-12-07
 */
public class Shopbalancesheet extends DataEntity<Shopbalancesheet> {
	
	private static final long serialVersionUID = 1L;
	private String shopName;		// 店铺名
	private String salesrevenue;		// 销售收入
	private String turnover;		// 营业额
	private String dividendpayments;		// 分红支出
	private String pendingintegral;		// 待激积分支出
	private String servicefeeincome;		// 服务费收入
	private Date shopDate;		// 结算时间
	private String vdef1;		// vdef1
	private String vdef2;		// vdef2
	
	public Shopbalancesheet() {
		super();
	}

	public Shopbalancesheet(String id){
		super(id);
	}

	@ExcelField(title="店铺名", align=2, sort=6)
	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	
	@ExcelField(title="销售收入", align=2, sort=7)
	public String getSalesrevenue() {
		return salesrevenue;
	}

	public void setSalesrevenue(String salesrevenue) {
		this.salesrevenue = salesrevenue;
	}
	
	@ExcelField(title="营业额", align=2, sort=8)
	public String getTurnover() {
		return turnover;
	}

	public void setTurnover(String turnover) {
		this.turnover = turnover;
	}
	
	@ExcelField(title="分红支出", align=2, sort=9)
	public String getDividendpayments() {
		return dividendpayments;
	}

	public void setDividendpayments(String dividendpayments) {
		this.dividendpayments = dividendpayments;
	}
	
	@ExcelField(title="待激积分支出", align=2, sort=10)
	public String getPendingintegral() {
		return pendingintegral;
	}

	public void setPendingintegral(String pendingintegral) {
		this.pendingintegral = pendingintegral;
	}
	
	@ExcelField(title="服务费收入", align=2, sort=11)
	public String getServicefeeincome() {
		return servicefeeincome;
	}

	public void setServicefeeincome(String servicefeeincome) {
		this.servicefeeincome = servicefeeincome;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message="结算时间不能为空")
	@ExcelField(title="结算时间", align=2, sort=12)
	public Date getShopDate() {
		return shopDate;
	}

	public void setShopDate(Date shopDate) {
		this.shopDate = shopDate;
	}
	
	@ExcelField(title="vdef1", align=2, sort=14)
	public String getVdef1() {
		return vdef1;
	}

	public void setVdef1(String vdef1) {
		this.vdef1 = vdef1;
	}
	
	@ExcelField(title="vdef2", align=2, sort=15)
	public String getVdef2() {
		return vdef2;
	}

	public void setVdef2(String vdef2) {
		this.vdef2 = vdef2;
	}
	
}